package com.javatraining.corejava.homework.car;

/**
 * @author kmatharasi
 * 
 * Demo Class to instantiate the Car 
 *
 */
public class CarDemo {


	public static void main(String[] args) {
		
		Car car1 = new Car();
		
		car1.setMake("Honda");
		car1.setModel("Civic");
		car1.setYear(2003);
		car1.setVinNumber("XYZ123");
		car1.setEngineOn(true);
		car1.setGear(1);
		
	System.out.println(car1.getMake());
	System.out.println("---------------");
	System.out.println(car1.getModel());
	System.out.println("---------------");
	System.out.println(car1.getYear());
	System.out.println("---------------");
	System.out.println(car1.getVinNumber());
	System.out.println("---------------");
	System.out.println(car1.isEngineOn());
	System.out.println("---------------");
	System.out.println(car1.getGear());
	System.out.println("---------------");
	
		car1.start();
		
		car1.accelerate(2,10);	
	
		car1.decelerate(1,5);	
		
		car1.changeGear(1);
		
		car1.stop(false,0);
		
		car1.changeFluids(0.7f , 0.2f, 0.9f);

	}

}
